package com.xajava.services.impl;

import com.xajava.entity.User;
import com.xajava.mapper.UserMapper;
import com.xajava.services.UserServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServicesImpl implements UserServices {

    @Autowired
    private UserMapper userMapper;



    public List<User> findAll() {
        return userMapper.findAll();
    }
}
